<?php
/* Smarty version 3.1.30-dev/18, created on 2016-01-12 14:32:27
  from "C:\WDApplications\APMServ5.2.6\www\htdocs\wengdo\templates\user_setting.tpl" */

if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.30-dev/18',
  'unifunc' => 'content_56949dfbce5059_06905358',
  'file_dependency' => 
  array (
    'b31bc0bab24e15a66bcf0544805a06e880520f44' => 
    array (
      0 => 'C:\\WDApplications\\APMServ5.2.6\\www\\htdocs\\wengdo\\templates\\user_setting.tpl',
      1 => 1452580339,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:user_center_header.tpl' => 1,
    'file:user_center_sidebar.tpl' => 1,
    'file:footer.tpl' => 1,
  ),
),false)) {
function content_56949dfbce5059_06905358 ($_smarty_tpl) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文豆集团-IT服务企业</title>
    <link rel="stylesheet" href="css/Common.css">
    <link rel="stylesheet" href="css/user_setting.css">
    <link rel="stylesheet" href="js/jquery-ui-1.11.4/jquery-ui.css">
</head>
<body>
<div class="container">
    <?php $_smarty_tpl->_subTemplateRender("file:user_center_header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    <div class="main">
        <img src="images/cases_banner.jpg" alt="">
        <p class="main_head_nav">
            <a href="index.php">首页</a>>
            <a href="user_center.php">用户中心</a>>账号设置
        </p>

        <div class="main_us">
            <?php $_smarty_tpl->_subTemplateRender("file:user_center_sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

            <div class="main_usernews">
                <p class="main_usernews_nav">
                    <a href="user_center.php">基本信息</a>
                    <a class="user_set" href="user_setting.php">账号设置</a>
                </p>

                <form action="user_setting.php" method="post" enctype="multipart/form-data">
                    <input type="hidden" name="logoname" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['logo'];?>
"/>
                    <ul>
                        <li>
                            <p>真实姓名：</p>
                            <input type="text" name="realname" id="realname" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['realname'];?>
">
                            <span id="name_report"></span>
                        </li>
                        <li>
                            <p>性别：</p>
                            <select name="sex" id="sex">
                                <option value="1" <?php if ($_smarty_tpl->tpl_vars['user']->value['sex'] != 2) {?> selected='selected' <?php }?> >男</option>
                                <option value="2" <?php if ($_smarty_tpl->tpl_vars['user']->value['sex'] == 2) {?> selected='selected'<?php }?> >女</option>
                            </select>
                        </li>
                        <li>
                            <p>生日：</p>
                            <input class="birthday" type="text" name="birthday" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['birthday'];?>
" id="birthday">
                            <span id="birth_report"></span>
                        </li>
                        <li>
                            <p>手机：</p>
                            <input type="text" name="phone" id="phone" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['mobile'];?>
">
                            <span id="phone_report"></span>
                        </li>
                        <li>
                            <p>电子邮箱：</p>
                            <input type="text" name="mail" id="mail" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['email'];?>
">
                            <span id="mail_report"></span>
                        </li>
                        <li>
                            <p>QQ：</p>
                            <input type="text" name="qq" id="qq" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['qq'];?>
">
                            <span id="qq_report"></span>
                        </li>
                        <li>
                            <p>详细地址：</p>
                            <input type="text" name="address" id="address" value="<?php echo $_smarty_tpl->tpl_vars['user']->value['address'];?>
">
                            <span id="addr_report"></span>
                        </li>
                        <li>
                            <p>头像上传：</p>
                            <input type="file" name="photo">
                            <span id="logo"></span>
                        </li>
                        <li>
                            <input class="save" type="submit" name="dosubmit" value="保存资料">
                        </li>
                    </ul>
                </form>
            </div>
        </div>
    </div>
    <?php $_smarty_tpl->_subTemplateRender("file:footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

</div>
</body>
</html>
<?php echo '<script'; ?>
 src="js/jquery-1.11.3.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/jquery-ui-1.11.4/jquery-ui.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>

    $("#birthday").datepicker({
        dateFormat: "yy-mm-dd"
    });

<?php echo '</script'; ?>
>
<?php }
}
